package com.lyncs.ods.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author alex
 * @date 2022/5/8 23:24
 * @description
 */
@Getter
@AllArgsConstructor
public enum TagInfoEnum {

    /**
     * sku超量交付
     */
    SKU_OVER_DELIVERED("SOD00001", "warning", "可能超量交付", Boolean.FALSE, TagGroupEnum.ORDER.getCode(), 0),
    /**
     * 账款超量结算
     */
    AMOUNT_OVER_SETTLED("AOS00001", "warning", "可能超量结算", Boolean.FALSE, TagGroupEnum.DELIVER.getCode(), 0),
    /**
     * 订单被删除
     */
    ORDER_DELETED("OD00001", "warning", "找不到关联的订单，该订单已被删除", Boolean.TRUE, TagGroupEnum.ORDER.getCode(), 2),
    /**
     * 订单SKU被删除
     */
    ORDER_SKU_DELETED("OSD00001", "warning", "找不到关联订单中的产品，订单中的产品已被删除", Boolean.FALSE, TagGroupEnum.ORDER.getCode(), 1),
    /**
     * 交付单被删除
     */
    DELIVER_DELETED("DD00001", "warning", "找不到关联的交付单，该交付单已被删除", Boolean.TRUE, TagGroupEnum.ORDER.getCode(), 2),
    /**
     * 交付单账款被删除
     */
    DELIVER_Bill_DELETED("DBL00001", "warning", "找不到关联交付单中的账款", Boolean.TRUE, TagGroupEnum.ORDER.getCode(), 1),
    ;

    /**
     * code
     */
    private String code;
    /**
     * level
     * warning，danger，success，info，primary
     */
    private String level;
    /**
     * desc
     */
    private String desc;
    /**
     * frozen
     */
    private Boolean frozen;
    /**
     * group
     */
    private String group;
    /**
     * priority
     */
    private Integer priority;
}
